package com.pansoft.openplanet.constant;

/**
 * 星际通讯行情交易所相关
 *
 * @author YQS
 */

public class MarketConstant {

//    ------------------------请求相关的url-------------------------------------------------------
    /**
     * 行情baseurl
     */
    public static final String MARKET_BASE_URL = "https://x.szsing.com:443";

    /**
     * 所有配置url
     */
    public static final String MARKET_CONFIG_URL = MARKET_BASE_URL + "/v2/quote/price/m_config";
    /**
     * 行情菜单url
     */
    public static final String MARKET_MENU_URL = MARKET_BASE_URL + "/v2/quote/price/m_custom";
    /**
     * 交易所汇率url
     */
    public static final String BOURSE_RATE_URL = MARKET_BASE_URL + "/v2/quote/price/m_rate";
    /**
     * 市值url
     */
    public static final String MARKET_VALUE_URL = MARKET_BASE_URL + "/v2/quote/index/m_caps";

    /**
     * 自选url
     */
    public static final String MARKET_SELF_CHOOSE_URL = MARKET_BASE_URL + "/v2/quote/price/m_custom";
    /**
     * 涨跌幅url
     */
    public static final String MARKET_RISE_FALL_URL = MARKET_BASE_URL + "/v2/quote/index/m_rank";
    /**
     * 交易所url
     */
    public static final String MARKET_BOURSE_URL = MARKET_BASE_URL + "/v2/quote/price/m_site_statistic";

    /**K线图接口*/
    public static final String K_LINE_URL = MARKET_BASE_URL + "/v2/quote/chart/m_candlestick";

    /**K线图接口传的version*/
    public static final String K_LINE_API_VERSION = "4";

    /**
     * 平台币url
     */
    public static final String MARKET_KIND_COINS_URL = MARKET_BASE_URL + "/v2/quote/price/m_categories";
    /**
     * 详情页资金数据的url
     */
    public static final String MARKET_DETAIL_FUND_URL = MARKET_BASE_URL + "/v2/quote/price/m_fund_analyses";
    /**
     * 详情页分析界面市场深度图数据的url
     */
    public static final String MARKET_DETAIL_ANYLYZE_DEPTH_URL = MARKET_BASE_URL + "/v2/quote/depth/m_depth";
    /**
     * 详情页分析界面挂单量数据的url
     */
    public static final String MARKET_DETAIL_ANYLYZE_ENTRY_ORDER_URL = MARKET_BASE_URL + "/chart/m_order_books";
    /**
     * 详情页分析界面委单量数据的url
     */
    public static final String MARKET_DETAIL_ANYLYZE_APPOINT_ORDER_URL = MARKET_BASE_URL + "/chart/m_orders";
    /**
     * 详情页分析界面成交量数据的url
     */
    public static final String MARKET_DETAIL_ANYLYZE_TURNOVER_ORDER_URL = MARKET_BASE_URL + "/chart/m_trades";

    /**
     * 详情页上方数据的url
     */
    public static final String MARKET_DETAIL_TOP_URL = MARKET_BASE_URL + "/v2/quote/price/m_ticker";
    /**
     * 详情页简介数据的url
     */
    public static final String MARKET_DETAIL_INTRO_URL = MARKET_BASE_URL + "/v2/quote/price/m_coin_detail";

    /**
     * 交易所二级页面的url
     */
    public static final String MARKET_BOURSE_SECOND_PAGE_URL = MARKET_BASE_URL + "/v2/quote/price/m_site/";

//-----------------------------一些key---------------------------------------------------------------
    /**
     * 币看menu菜单
     */
    public static final String KEY_MARKET_MENU = "btckan_market_menu";
    /**
     * 币看汇率信息
     */
    public static final String KEY_MARKET_RATE = "btckan_market_rate";
    /**
     * 币看自选以及请求菜单需要的 category_version
     */
    public static final String KEY_MARKET_CATEGORY_VERSION = "btckan_category_version";
}
